# $Id: PKGBUILD 55293 2011-09-09 09:39:44Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Mathijs Kadijk <maccain13@gmail.com>

pkgname=python2-dnspython
pkgver=1.10.0
pkgrel=1
pkgdesc="A DNS toolkit for Python"
arch=('any')
url="http://www.dnspython.org"
license=('BSD')
depends=('python2')
source=(http://www.dnspython.org/kits/$pkgver/dnspython-$pkgver.tar.gz)
md5sums=('b4f60852fd7ba64fc7c3a1fa239eba33')

build() {
  cd $srcdir/dnspython-$pkgver
  python2 setup.py install --root=$pkgdir
  install -D LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE
}
